package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
  * 流程待办 列表dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/14
*/
@Data
public class WorkFlowOperateListDTO extends BaseDTO {

    @ApiModelProperty(value = "流程标题")
    private String flowTitle;

    @ApiModelProperty(value = "流程id")
    private Integer flowId;

    @ApiModelProperty(value = "主表单")
    private WorkFlowOperateListDTO.WorkFlowOperate m;

    @Data
    public static class WorkFlowOperate {

        @ApiModelProperty(value = "流程id")
        private Integer workFlowId;

        @ApiModelProperty(value = "操作人id")
        private Integer operatorId;

        @ApiModelProperty(value = "操作人名称")
        private String operatorName;

        @ApiModelProperty(value = "当前节点")
        private String currentNode;

        @ApiModelProperty(value = "当前节点名称")
        private String currentNodeName;

        @ApiModelProperty(value = "状态：1待办，0已办")
        private Integer state;

        @ApiModelProperty(value = "创建时间")
        private Date createTime;

        @ApiModelProperty(value = "更新时间")
        private Date updateTime;
    }

}